package com.common.constant;


/**
 * 商品模块常量
 */

public enum ProductConstant {
    ATTR_SALE(0, "销售属性"),
    ATTR_BASE(1, "基本属性"),
    PRODUCT_UP(1, "商品已经上架"),
    PRODUCT_DOWN(0, "商品已经下架");
    private int code;
    private String message;

    private ProductConstant(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
